package com.hducms.core.service;

import java.util.Map;


//import com.jeecms.common.email.EmailSender;
//import com.jeecms.common.email.MessageTemplate;
import com.hducms.core.entity.Config;
//import com.jeecms.core.entity.Config.ConfigLogin;

public interface ConfigService {
	public Map<String, String> getMap();

//	public Config getConfigLogin();

	public Integer getErrorInterval();

	public Integer getErrorTimes();
	
//	public EmailSender getEmailSender();
//
//	public MessageTemplate getForgotPasswordMessageTemplate();
//	
//	public MessageTemplate getRegisterMessageTemplate();

	public String getValue(String id);

	public void updateOrSave(Map<String, String> map);

	public Config updateOrSave(String key, String value);

	public Config deleteById(String id);

	public Config[] deleteByIds(String[] ids);
}